package com.atguigu.petstore.coupon.service.impl;

import com.atguigu.petstore.coupon.vo.SeckillProductVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.petstore.coupon.entity.CouponInfo;
import com.atguigu.petstore.coupon.service.CouponInfoService;
import com.atguigu.petstore.coupon.mapper.CouponInfoMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author lfy
* @description 针对表【coupon_info(优惠 - 劵信息)】的数据库操作Service实现
* @createDate 2023-09-24 15:59:03
*/
@Service
public class CouponInfoServiceImpl extends ServiceImpl<CouponInfoMapper, CouponInfo>
    implements CouponInfoService{


    @Resource
    CouponInfoMapper couponInfoMapper;
    @Override
    public List<SeckillProductVo> getSeckillProduct() {

        return  couponInfoMapper.getSeckillProduct();
    }
}




